package com.chanzany.facade;

// 投影仪
public class Projector {
    //使用单例饿汉
    private static final Projector instance = new Projector();
    public static Projector getInstance(){return instance;}
    public void on(){
        System.out.println("Projector on");
    }
    public void off(){
        System.out.println("Projector off");
    }
    public void focus(){
        System.out.println("Projector is focusing");
    }
}
